home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Snippets / DirectoryPopup 1.0 / □□□DPSample Source / SimpleAppMain.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-24  |  367 b   |  33 lines  |  [TEXT/CWIE]

  1. /*
  2.  *    Project:        SimpleApp
  3.  *
  4.  *    Filename:         SimpleAppMain.c
  5.  *
  6.  *    Author:         Marco Piovanelli
  7.  *
  8.  *    Revision History:
  9.  *
  10.  *            1996.05.24                MP        created this file
  11.  *
  12.  */
  13.  
  14. #include "SimpleApp.h"
  15.  
  16. //        globals
  17.  
  18. Boolean gExiting = false ;
  19.  
  20. void main ( )
  21. {
  22.     if ( Initialize ( ) == noErr )
  23.     {
  24.         do
  25.         {
  26.             ProcessEvent ( ) ;
  27.         } while ( ! gExiting ) ;
  28.     }
  29.     
  30.     Finalize ( ) ;
  31. }
  32.  
  33.